package org.test.stream.test.shidianbai;/*

author：ngr
date：{2023/9/8}
*/

public class Card {
    private String color;
    public String point;
    public Double  order;

    public Card() {
    }

    public Card(String color, String point, Double order) {
        this.color = color;
        this.point = point;
        this.order = order;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getPoint() {
        return point;
    }

    public void setPoint(String point) {
        this.point = point;
    }

    public Double getOrder() {
        return order;
    }

    public void setOrder(Double order) {
        this.order = order;
    }

    @Override
    public String toString() {
        return "Card{" +
                "color='" + color + '\'' +
                ", point='" + point + '\'' +
                ", order=" + order +
                '}';
    }
    public String getColorAndPoint(){
        return color+point;
    }
}
